package org.gry.dy20180621;

public class User {

	int id;
	String userName;

	public User(int id, String userName) {
		this.id = id;
		this.userName = userName;
	}

	public User() {
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	@Override
	public String toString() {
		System.out.println("id:"+id + "\n"+"userName:"+userName);
		return "";
	}

	
}
